
package com.wyzz.hr.bo;

import java.util.List;

import com.wyzz.hr.pojo.Role;


public interface RoleBo {

	public abstract List getRoleList();

	public abstract List getRoleList(Integer ainteger[], String s);

	public abstract Role getRole(String s);

	public abstract boolean addRole(Role role);

	public abstract String addRole(Role role, Integer ainteger[]);

	public abstract String delRole(Integer integer, UserBo userbo);

	public abstract String updateRole(Role role, Integer ainteger[],
			UserBo userbo);

	public abstract boolean findRoleByName(String s);

	public abstract boolean findRoleBySortid(int i);

	public abstract List getAllAuthoritys(List list);

	public abstract boolean isHasAuth(String s, Integer integer);
}
